﻿<template>
  <div>
    <h1>属性透传示例</h1>
    <AttributesComponents class="large" @click="handleClick" foo-bar="你好啊"/>
  </div>
</template>

<script>
import AttributesComponents from './Components/AttributesComponents.vue';

export default {
  components: {
    AttributesComponents
  },
  methods: {
    handleClick() {
      alert('Button clicked!');
    }
  }
}
</script>

<style>
.large {
  font-size: 20px; /* 更大的字体 */
  padding: 15px 30px; /* 更大的按钮 */
}
</style>
